from deepseekClientPostAnswerFile import deepseekClientPostAnswer as DSCPA
from kThreadFile import KThread as KTH
from kThreadFile import KThreadPool as KTHP
# def test():
#     print("testfunc")
from serveConnFile import server as SCF
# global
if __name__ == "__main__":
    print("Hello，welcome to KRISK server")
    # kthreadpool = KTHP(maxthreads=100,debugmode=True)
    # server = SCF(threadPool=KTHP,maxListenCount=100)

    kthreadpool = KTHP(200)
    server = SCF(threadPool=kthreadpool, maxListenCount=100)

    # deepseekClientPostTest=DSCPA()
    # deepseekClientPostTest.postToDeepSeek(promot="请帮我解决c++撤回输入的问题", deepseekv=2, deepthought=False)

    #print(deepseekClientPostTest.postToDeepSeekCom(promot="你好", deepseekv=2))


    # kthreadpool=KTHP(20,True)
    # kthreadtest=KTH(1,"testthread",123,debugMode=True,needpool=True)
    # kthreadtest.setfunc(test,None,False)
    # kthreadpool.pushThreadsAndStart(kthreadtest)

    # kthreadtest.start()
    # kthreadtest.setfunc(test, None, False)
    # kthreadtest.setfunc(test, None, False)
    # kthreadtest.setfunc(test, None, False)
